import { EntityDto } from './entity';
import type { MenuResultDto } from './menu';

export class RolePermissionDto extends EntityDto {
    public roleCode!: string;

    public permissionCode!: string;

    public type!: number;

    public sort: number = 1;
}

export class PermissionInputDto {
    public roleCode!: string;

    public menus!: Array<MenuResultDto>;
}